Skip to content

Updated CompundInterest.py and added readme.md #467

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Code-Builder-io
Copy link

@Code-Builder-io Code-Builder-io commented Jul 14, 2025

PR Title

Compound Interest.py

Summary

summary...

Description

The changes are as follows:

  • Change 1:Fixed some typos and also add f string for smoothness
  • Change 2:Added a readme file

Checks

in the repository

  • Made no changes that degrades the functioning of the repository
  • Gave each commit a better title (unlike updated README.md)

in the PR

  • Followed the format of the pull_request_template
  • Made the Pull Request in a small level (for the creator's wellfare)
  • Tested the changes you made

Thank You,

Aryan Tiwari

Fixed some typos and also add f string for smoothness.
Added a readme file.
@DhanushNehru DhanushNehru requested a review from Copilot July 21, 2025 15:21
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes typos and improves string formatting in a compound interest calculator, while adding documentation. The changes focus on correcting spelling errors and modernizing the output formatting with f-strings.

  • Fixed spelling error in user prompt ("investin" → "investing")
  • Modernized string formatting by replacing .format() with f-string
  • Added a README file to document the project

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
Calculate Compound Interest/readme.md Added new documentation file describing the compound interest calculator
Calculate Compound Interest/calculateCompoundInterest.py Fixed typo in user prompt and updated string formatting to use f-strings

@@ -0,0 +1,5 @@
# Calulate Compound Interest
Copy link
Preview

Copilot AI Jul 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The word 'Calulate' is misspelled. It should be 'Calculate' to match the directory name and maintain consistency.

Suggested change
# Calulate Compound Interest
# Calculate Compound Interest

Copilot uses AI. Check for mistakes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant